package com.yangyu.mapper;

import com.yangyu.pojo.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Company：乙盟信息
 * @Author: jiangheng
 * @Date: 2022/1/24 16:58
 * @Version 1.0
 */
public interface MessageMapper {
    boolean addMessage(Message massage);

    List<Message> getMessage();

    Message getMessageById(@Param("id") String id);


    List<Message> getChildComment(String id);

    List<Message> getComment(String id);
}
